/**********************************************************************
 *   Copyright: (C)2024 LingYun IoT System Studio
 *      Author: GuoWenxue<guowenxue@gmail.com>
 *
 * Description: Temperature sensor DS18B20 driver on ISKBoard
 *
 *   ChangeLog:
 *        Version    Date       Author            Description
 *        V1.0.0  2024.08.29    GuoWenxue      Release initial version
 *
 ***********************************************************************/

#ifndef __DS18B20_H_
#define __DS18B20_H_


#include"usart.h"

extern int ds18b20_sample(float *temperature);
extern  int ds18b20_reset(void);
extern void ds18b20_write_byte(uint8_t byte);
extern uint8_t ds18b20_read_byte(void);
#endif /* __DS18B20_H_ */
